package com.xr.sunnyday.service;

import com.xr.sunnyday.entity.PageResult;
import com.xr.sunnyday.entity.QueryPageBean;
import com.xr.sunnyday.pojo.CheckGroup;

import java.util.List;


public interface CheckgroupService {
    List<CheckGroup> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    CheckGroup findByid(int checkGroupId);

    void add(CheckGroup checkGroup, Integer[] checkitemIds);

    List<Integer> findCheckItemIdBYfindCheckGroupId(int checkGroupId);

    void update(CheckGroup checkGroup, int[] checkitemIds);

    void delete(int checkGroupId);

}
